/**
 * 系统名称: 企业财资
 * 模块名称: repair-boot
 * 类 名 称: DeviceQr.java
 * 软件版权: 恒生电子股份有限公司
 * 修改记录:
 * 修改人员:
 * 修改说明:
 * ============ ============================================
 * zhanghong 创建
 * ============ ============================================
 */
package com.mt.common.system.entity.qrEntity;

import com.mt.common.core.utils.Qr;

import java.util.HashMap;
import java.util.Map;

/**
 *
 *
 * @author zhanghong
 * @date 2023-04-02 11:32
 */
public class DeviceQr extends Qr {
    static {
        Qr.registerType("DeviceQr",DeviceQr.class);
    }
    public  static String type="deviceQr";
    public  static String label="设备二维码";
    public  static Long expireTime = Long.MAX_VALUE; //二位码的有效期,单位毫秒

    public Map<String,String> datas=new HashMap<>();

    public static String getType() {
        return type;
    }

    public static void setType(String type) {
        DeviceQr.type = type;
    }

    public static String getLabel() {
        return label;
    }

    public static void setLabel(String label) {
        DeviceQr.label = label;
    }

    public static Long getExpireTime() {
        return expireTime;
    }

    public static void setExpireTime(Long expireTime) {
        DeviceQr.expireTime = expireTime;
    }

    public Map<String, String> getDatas() {
        return datas;
    }
    public void put(String key,String value){
        this.datas.put(key,value);
    }

    public void setDatas(Map<String, String> datas) {
        this.datas = datas;
    }
}
